Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button clicks, Date not setting when creating new Activity #18

Open
kagalenitin opened this issue Oct 18, 2015 · 0 comments
Open

Button clicks, Date not setting when creating new Activity #18

kagalenitin opened this issue Oct 18, 2015 · 0 comments

Comments

@kagalenitin
Copy link

I created a new Activity and added textbox, button, and dateinline.

My code:
final RowDescriptor textDisabled = RowDescriptor.newInstance("txtLocationDisabled",RowDescriptor.FormRowDescriptorTypeText, "", new Value("Click on Location to Set Pickup Location"));
textDisabled.setDisabled(true);
sectionDescriptor.addRow(textDisabled);

    btnPickupLocation.setOnFormRowClickListener(new OnFormRowClickListener() {
        @Override
        public void onFormRowClick(FormItemDescriptor itemDescriptor) {
            if (textDisabled.getValue().equals("Click on Location Button")) {
                textDisabled.setValue(new Value<String>("Set Pickup Location"));
            }
        }
    });
    sectionDescriptor.addRow(btnPickupLocation);

  • Date Inline doesn't open the Date Dialog.

- When I set new date in Date Dialog, it doesn't set the value .

Next,
I then used the SampleFormFragment.java from the controller package and modified it. I am not able to upload the modified text file. I run into same issue. Can someone take a look at it please and let me know what am I doing wrong. Appreciate your help in advance. Also is there any active development happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant