Inputで数値のみ入力可能にする【OutSystems】

基礎
スポンサーリンク

Inputで数値のみ入力可能にする方法【OutSystems】

OutSystemsのInput Widgetで数値のみ入力可能にしたい。

そんな時ありますよね。この記事では、

Inputで数値のみ入力可能にできる方法を解説します。

スポンサーリンク

Custom Input Masksを利用する方法

今回紹介する方法はForgeのCustom Input Masksを利用して数値のみ入力可能にしていきます。

Custom Input Masks

まず、Forgeから「Custom Input Masks」をインストールしてください。

コンセント(Manage Dependencies)をクリックします。

「Mask Number」を選択します。

Mask Numberを実装

Inputの近くに「Mask Number」を配置します。

Input WidgetとMaskNumberを紐づけるためにPropertiesに「InputId」でInput WidgetのIdを選択します。

以上、これで数値のみ入力可能になりました。

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました