chadoiam Posted September 14, 2020 Share Posted September 14, 2020 Bom dia, Como faço para permitir na versão mobile no componente TUnimdbNumberEdit permitir digitar numeros com casa decimais? Ao digitar qualquer numero com casa decimal ele fica em vermelho e não salva o valor, permitindo digitar somente numeros inteiros. Obrigado Versão 1531 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 14, 2020 Share Posted September 14, 2020 5 minutes ago, chadoiam said: Como faço para permitir na versão mobile no componente TUnimdbNumberEdit permitir digitar numeros com casa decimais? Ao digitar qualquer numero com casa decimal ele fica em vermelho e não salva o valor, permitindo digitar somente numeros inteiros. Hello, Sorry, which edition of UniGUI are you using? If you are not using the trial version, please adjust your forum email address first: Quote Link to comment Share on other sites More sharing options...
chadoiam Posted September 14, 2020 Author Share Posted September 14, 2020 Good Morning, How do I allow in the mobile version in the TUnimdbNumberEdit component to allow entering numbers with decimal places? When entering any number with a decimal point it is in red and does not save the value, allowing you to enter only whole numbers. Version of the unigui 1531 trial, it was an old doubt of a project that was stopped. Quote Link to comment Share on other sites More sharing options...
chadoiam Posted September 21, 2020 Author Share Posted September 21, 2020 Consegui segue a Solução abaixo : Configure abaixo no On Create do seu Formulario para cada campo que utilizar os decimal no mobile. UnimDBNumberEdit.JSInterface.JSConfig('decimals', [2]); UnimDBNumberEdit.JSInterface.JSConfig('inputType', ['any']); UniguiVersion 1531 Referencia abaixo: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.