Code Monkey home page Code Monkey logo

Comments (10)

wardi avatar wardi commented on August 19, 2024

I'm not sure I understand, is this a UI-only issue? Would you send a screenshot?

from ckanext-scheming.

reneenoble avatar reneenoble commented on August 19, 2024

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.

reneenoble avatar reneenoble commented on August 19, 2024

Let me know if there is any other info I can provide.

Thanks!

from ckanext-scheming.

wardi avatar wardi commented on August 19, 2024

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.

hkotkanen avatar hkotkanen commented on August 19, 2024

+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.
organization_fontsize_0

from ckanext-scheming.

wardi avatar wardi commented on August 19, 2024

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.

reneenoble avatar reneenoble commented on August 19, 2024

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.

wardi avatar wardi commented on August 19, 2024

Ok, please confirm that b5294e0 fixes this issue

from ckanext-scheming.

reneenoble avatar reneenoble commented on August 19, 2024

Yep that's the fix I made.

Just re-cloned the repo and that works. :)

from ckanext-scheming.

hkotkanen avatar hkotkanen commented on August 19, 2024

Great thanks, issue fixed!

from ckanext-scheming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.