This is a migrated thread and some comments may be shown as answers.

ReadOnly DatePicker still looks editable

5 Answers 153 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Robert
Top achievements
Rank 1
Robert asked on 24 Jun 2017, 02:09 PM

If you create a readonly form (for example, by setting isReadOnly="true" on the RadDataForm element), then the DatePicker draws text in light-gray and draws the ">" symbol, suggesting it should be editable.

This happens on iOS. I have not yet tried it on Android.

In general, on iOS, it is very hard to visually distinguish a read-only form from one that is editable.

5 Answers, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 26 Jun 2017, 02:54 PM
Hello Robert,

Thank you for pointing this issue to us - indeed at this very moment, the readOnly mode does not have good distinguished styling depending on its value. I have logged this feature here and discussed it with the developer's team and the overall opinion is that the styling definitely should be more apparent for a false value. Please keep an eye on the logged issue where additional information will be posted once we have implemented this feature.

Regards,
Nikolay Iliev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Ashley
Top achievements
Rank 1
answered on 24 Jul 2017, 03:54 AM

Hey Nikolay, 

Is there any progress for this problem? I am using RadDataForm and I set some field as ''read only" by readOnly="true" in xml.

While when I open the it, there is a dialog said: Telerik UI for Nativescript by Progress Trail( although my group already purchased the whole package). After I closed it, the '' read-only " fields are still editable. 

Thank you,

Ash

0
Nikolay Tsonev
Telerik team
answered on 24 Jul 2017, 08:11 AM
Hi Ashley,

Thank you for contacting us back.

This issue is already planned for the release after version 3.1.0, however, I could not commit to the exact time this feature will be available. For further info about the current status of the issue, please keep track on the issue.

Regarding the second question in the latest version 3.0.4, the alert with the Trail message is removed, You could simply change the version of the nativescript-telerik-ui-pro plugin to 3.0.4 in your package.json file.

Bear in mind to delete node_modules and platforms folder before rebuilding.

Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Ashley
Top achievements
Rank 1
answered on 25 Jul 2017, 03:26 AM

Thank you for your reply. 

However, I still have compatible problem with tns-core-module and nativscript-telerik-ui-pro.

I am using visual studio for developing and it has update function. However, every time I update ui-pro into above 3.0.0, '' can not find module" question always occurs to me.

As for your least hint: Bear in mind to delete node_modules and platforms folder before rebuilding". Could you please tell me how to do that in visual studio?

My nativescript version is 2.5.0

 

0
Nikolay Tsonev
Telerik team
answered on 25 Jul 2017, 06:58 AM
Hi Ashley,

To be able to use the latest UI for NativeScript 3.0.4 you should also use the NativeScript 3.0.0.
Regarding that if you are using NativeScirpt CLI, you could upgrade it by using the following command:
npm install nativescript --g
Then to update all needed dependencies you could run:
tns update
command and to update UI for  run:
tns plugin remove nativescript-telerik-ui-pro
which will remove the plugin and:
tns plugin add nativescript-telerik-ui-pro
to install the latest version.

In case you are using app builder,  you could review the article here, where it is described how to manage the plugins in your app. For configuring the target NativeScirpt version, you could review this resource from the documentation.


About the node_modules and platforms folders. You could simply open the root folder of the project and delete them.

Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
DataForm
Asked by
Robert
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Ashley
Top achievements
Rank 1
Nikolay Tsonev
Telerik team
Share this question
or