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

recordedit simple array support. #1726

Merged
merged 3 commits into from
Feb 23, 2019
Merged

recordedit simple array support. #1726

merged 3 commits into from
Feb 23, 2019

Conversation

RFSH
Copy link
Member

@RFSH RFSH commented Feb 21, 2019

This PR will add simple array support to recordedit. We are going to show a texarea for arrays and it has its own set of custom validators.

I added test cases to edit.spec.js, add.spec.js, and add-x-forms.spec.js (batch-copy feature).

The only thing that I wasn't sure of is the timestamp format. Which formats should we allow? Should we be flexible i.e. allow only dates, allow timestamptz without specifying timezone? Currently I haven't specified any formats, but I feel like I should just allow a certain list of formats. We might want to discuss about this in the meeting.

#1408

@RFSH RFSH self-assigned this Feb 21, 2019
@RFSH RFSH requested a review from jrchudy February 21, 2019 19:32
@RFSH
Copy link
Member Author

RFSH commented Feb 22, 2019

It seems like moment has a pre-defined ISO 8601 format. So I just used that for validating timestamp columns.
@jrchudy the PR is ready to be reviewed.

@RFSH RFSH merged commit 8ccbd4c into master Feb 23, 2019
@RFSH RFSH deleted the simple-recordedit-array branch February 23, 2019 00:31
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

Successfully merging this pull request may close these issues.

2 participants