Comments (3)
You are welcome. Happy to receive feedback from you.
val minYear: Int
val maxYear: Int
I might just replace it with a date range.
val boundary: ClosedRange<LocalDate>
I would need to make some minor changes (for myself)
- Additional setup check if the years difference in the range is valid (at least more than 1 year)
- Use boundary for year selection view
- Respect boundary when setting up month selection view
- Respect boundary in calculation and mark dates as disabled if they are not within it.
from sheets-compose-dialogs.
Why the range should be > 1 year? I mean it'll be a really good use case if somebody wants to show dates between few months...
from sheets-compose-dialogs.
This would require some changes with the month and year selection state, and some small other modifications. I will add a commit to allow any range.
from sheets-compose-dialogs.
Related Issues (20)
- [Crash] DateTime dialog adds an extra month and day to the initial value HOT 6
- [Feature] Datetime selection dialog is confusing to users HOT 2
- How to change color text and button in ClockDialog? HOT 1
- Allow OptionSheet icons to be in colour HOT 6
- (DateTime) "getLocalizedPattern" is incorrect for Chinese locale HOT 1
- How do I change the text used in calendar HOT 8
- [Feature] Provide Bottom Sheets HOT 2
- [Question] Min version SDK. HOT 5
- [Question] Is it possible to setup a listener for date changes? HOT 3
- How to set color of dialog(dark mode)? HOT 1
- [Feature] Allow setting minimum and maximum date/times for DateTimeDialog HOT 3
- [Bug] Settings "12:00 AM" on the time picker resets the time to 12:00 PM instead HOT 8
- How can I get the selection value of AM or PM to put it in a string? HOT 1
- Support for Compose Multiplatform HOT 1
- Feature: Numeric input HOT 1
- Month text font is too large HOT 1
- Conflict between sheets-compose-dialogs and sheets HOT 4
- Set default selection date. For ex- age restricion for 18 year+
- Language of calendar don't change when changing app language HOT 1
- How change colors inside this dialog? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sheets-compose-dialogs.