Quantcast
Channel: Krajee Yii2 Extensions – Krajee Web Tips
Viewing all articles
Browse latest Browse all 129

Dynamically register input control as NumberControl

$
0
0

Hi,
I have a form where I want to dynamically add input text fields with jQuery and I want those fields to be rendered as numeric input. I’m using the latest Yii2 (2.0.31) with the master revision of kartik-v/yii2-number. How is this possible? Which constructor or function do I call in Javascript to register these input controls as number inputs?
Thanks!

The post Dynamically register input control as NumberControl appeared first on Krajee Web Tips.


Viewing all articles
Browse latest Browse all 129

Trending Articles