ReadOnly DatePicker still looks editable

6 posts, 0 answers
  1. Robert
    Robert avatar
    8 posts
    Member since:
    Jun 2017

    Posted 24 Jun Link to this post

    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.

  2. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    294 posts

    Posted 26 Jun Link to this post

    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.
  3. Ashley
    Ashley avatar
    7 posts
    Member since:
    Mar 2017

    Posted 23 Jul in reply to Nikolay Iliev Link to this post

    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

  4. nikolay.tsonev
    Admin
    nikolay.tsonev avatar
    286 posts

    Posted 24 Jul Link to this post

    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.
  5. Ashley
    Ashley avatar
    7 posts
    Member since:
    Mar 2017

    Posted 24 Jul in reply to nikolay.tsonev Link to this post

    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

     

  6. nikolay.tsonev
    Admin
    nikolay.tsonev avatar
    286 posts

    Posted 25 Jul Link to this post

    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 NativeScript 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.
Back to Top