Comments (10)
I'm not sure I understand, is this a UI-only issue? Would you send a screenshot?
from ckanext-scheming.
Hi Ian,
Yeah I think some javascript is broken for the manage dataset interface. I'd try and fix it but javascript is not my forte.
Ok a screen shot is attached that shows what it looks like after I have clicked on an an organisation from the drop down list. You can see I've selected "test1" as the organisation in the developer tools on the right, but the field box where it should display is empty.
To check it out yourself go here: http://52.64.153.184/dataset/edit/second-title
and log in with
username: help
password: pass
Then look at the field for organisation and select an organisation. It won't display the name you select. But you can tell it's been selected in the developer tools.
This also occurs when you have more organisations available in the drop down menu, you can see the field update in the dev tools if you click different options, but still no text appears in the box.
I should note that you are still able to create the dataset because it is technically selected. It's just the display that's broken.
Thanks a bundle!
Renee
From: Ian Ward [email protected]
Sent: Thursday, 15 October 2015 11:01 PM
To: open-data/ckanext-scheming
Cc: Renee Louise Noble
Subject: Re: [ckanext-scheming] organisation field doesn't show selected organisation text (#93)
I'm not sure I understand, is this a UI-only issue? Would you send a screenshot?
Reply to this email directly or view it on GitHubhttps://github.com//issues/93#issuecomment-148366172.
[https://avatars0.githubusercontent.com/u/7269759?v=3&s=400]#93 (comment)
organisation field doesn't show selected organisation text ยท Issue #93 ยท open-data/ckanext-scheming
Hi I'm using ckan 2.4 just trying to display the ckan_dataset schema provided in the package. When I go to select an organisation from the drop down (or there an organisation already selected as...
Read more...#93 (comment)
from ckanext-scheming.
Let me know if there is any other info I can provide.
Thanks!
from ckanext-scheming.
Do you mind comparing the html/JS generated with scheming vs. without to try to see why scheming is not working on 2.4?
from ckanext-scheming.
+1, experiencing the same issue.
Haven't looked into it very far, but I did find that it's caused by styling: the input-prepend class has font-size: 0 (see screenshot and sorry it's in Finnish). Overriding the font-size to something sensible fixes the problem, but I don't know how to fix it in the source.
It looks like the class was introduced in commit 9957fa0.
from ckanext-scheming.
Why don't we just remove the class from the snippet? I was copying that class from the form macro, but I must have done it wrong.
from ckanext-scheming.
Yeah can confirm fixed with forcing the font size to change in dev tools.
Works once I remove the class too, so I'll go with that.
Thanks!
from ckanext-scheming.
Ok, please confirm that b5294e0 fixes this issue
from ckanext-scheming.
Yep that's the fix I made.
Just re-cloned the repo and that works. :)
from ckanext-scheming.
Great thanks, issue fixed!
from ckanext-scheming.
Related Issues (20)
- Option to display help_text before the form input block HOT 2
- Option to display grouped metadata by relying on start_form_page
- CKAN - Custom plugin/theme error datastore using fluent presets
- Combination of Form Pages and repeating_subfields do not work properly in edit mode. HOT 2
- Formpages does not work when a required field is in the second page HOT 1
- Empty multiple_checkbox is not saved
- Handling many start_form_page sections
- Can't use choices_helper for a required field HOT 3
- Customizing group/about.html
- Validators ignored for fields with repeating subfields
- Applying multiple schemas not working as expected HOT 2
- Repeating subfield form snippet displays help text inconsistently HOT 2
- Rendered `select` elements on form do not have "dropdown" arrow HOT 1
- Missing in documentation HOT 1
- ckan.plugins.core.PluginNotFoundException: scheming_datasets HOT 2
- Install Error: Error processing line 1 HOT 3
- Groups/Organizations silently ignore `create_validators`
- Translations for label name and placeholder not working. HOT 4
- Other extra fields will be deleted after editing dataset
- Check_ckan_version() throwing error due to missing argument HOT 2
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 ckanext-scheming.