NativeScript / NativeScript/plugins
[@nativescript/datetimepicker] Class '-border' not applying style as per the parent TextField
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
Hi,
When I use class '-border' for the fields, it is not having the same styling as the parent TextField.
When the date is not picked, it has a underline stroke and after picked it has non rounded borders.
<DatePickerField class="nt-input -border" hint="Enter date of birth" formControlName="dateOfBirth"
required keyboardType="datetime" returnKeyType="next" [isEnabled]="!updatingTraderDetails">
</DatePickerField>
Also when the device is in light mode (white background) can't see any elements of the field [Check the Date of Birth Field] below




Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the DatePickerField example with the nt-input -border class in both light and dark device modes. Compare its unpicked and picked appearance with the parent TextField; done means the border styling matches and the field remains visible on a white background.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100