Comments (4)
Hello @albavilanova,
To build a local package, you need need to act like you are contributing as there is no dist package in the repo. To do so, you will need a need to have node installed.
Then run:
npm i
<- installs packagesnpm run build
<- which will build the python library as well as the jspip install -e .
<- will locally install the packages for you to test
Also, make sure that you run a venv
as to not mess up your other packages.
from dash-mantine-components.
Hello @albavilanova,
To use an input with DatePicker, you need to use DateInput.
https://www.dash-mantine-components.com/components/dateinput
from dash-mantine-components.
Hi @BSd3v,
I've managed to get it to work using DateInput, thank you for the suggestion. The same errors still appear using the new version (#203 and the free input not accepting the values in the current locale).
I want to test the master branch, but I tried installing the library in my environment and when I open my dashboard I keep encountering the imports error. I am doing:
git clone https://github.com/snehilvj/dash-mantine-components.git
python setup.py sdist
pip install dist/dash_mantine_components-0.14.3.tar.gz
My element looks like:
dmc.DatesProvider(
dmc.DateInput(
id=f"{ts_type}-date-picker",
minDate=dt.strptime(start_date, "%Y%m%d"),
maxDate=dt.strptime(end_date, "%Y%m%d"),
value=selected_date,
valueFormat="DD MMM YYYY",
placeholder="DD MON YYYY",
clearable=False,
),
settings={"locale": "ca"},
)
Best,
Alba
from dash-mantine-components.
I am closing this since I can now test it, I will open a new issue to report on the free input error.
from dash-mantine-components.
Related Issues (20)
- dmc.Image no longer supports base64 encoded images
- AppShellHeader and AppShellMain overlaping
- Updating Notifications not working HOT 1
- The dmc.ColorPicker doesn't show the color when it's value is updated
- Multiselect doesn't update pillsList dynamically
- Add support for advanced dayjs formats HOT 3
- r.useId is not a function HOT 1
- Free input on DateInput component does not consider locale
- Image components doesn't render data URIs HOT 2
- Custom color example in the document incorrect HOT 2
- Grouped Select not showing items. HOT 2
- Reducing package size by trimming metadata.json
- Select component on Modal windows HOT 2
- Migration guide missing renaming of Notification "disallowClose" option to "withCloseButton"
- Poor choice of font for code in docs HOT 2
- dmc.Accordion styles for active item do not work in 0.14 HOT 1
- callback property of Spoiler component
- Add animation to color swatches on selection
- Lag caused by dmc.Select with many options (~20k)
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 dash-mantine-components.