aws-amplify / aws-amplify/amplify-studio

Setting boolean/date attributes to null

Open
#1,063 1 comment 0 reactions 0 assignees View on GitHub
feature-request question
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

### Which Specific Feature is your question related to?

Data Manager

### Question

When creating a new model in Amplify Studio Data Manager, is it possible to set boolean or date attributes to null? It appears boolean attributes can only be toggled between true or false, and date attributes can only be selected from the calendar. Whenever I need to test null attributes for boolean or date attributes, I've been creating the models and sending POST requests in JavaScript, which is much slower than if I could do it in Amplify Studio.
Screenshot 2023-11-07 at 2 02 13 AM
Screenshot 2023-11-07 at 2 02 29 AM

Contributor guide

Open the contributing guide

Research direction

Start in the Amplify Studio Data Manager and reproduce the boolean and date attribute editors shown in the screenshots. Compare their behavior with the JavaScript POST workflow described in the issue. Done means users can create records with null boolean and date attributes directly in Data Manager.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.